A menu is the top level menu item, such as "File".
Creation parameters:
- To add a menu to a wxMenuBar
- parent: wxMenus must have a wxMenuBar parent
- text: text of the menu
- style [= 0]
- index: If omitted, the menu is appended to the existing menus,
or a zero-based index where the menu should be inserted
- To create a popup- or sub-menu
To create a submenu, first create a
wxMenu object with no parent,
then create a new
wxMenuItem with the menu as the
subMenu parameter.
proc append_separator( atom menu )
func get_menuitem_count( atom menu )
proc insert_separator( atom menu, integer pos )
Parent Topics:
Classes
Menus
Category: wxMenu
See Also:
get_menuitem_count,
insert_separator
Category: wxMenu
See Also:
append_separator,
insert_separator
Category: wxMenu
See Also:
append_separator,
get_menuitem_count